package com.commons.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class RsaProperties {

    public static String priavteKey;

    public static String getPriavteKey() {
        return priavteKey;
    }

    @Value("${rsa.private_key}")
    public static void setPriavteKey(String priavteKey) {
        RsaProperties.priavteKey = priavteKey;
    }
}
